import request, { IWorkspaceResponse } from '@/api/http/request'
// 获取直播流的token
export const getLiveToken = async (params: any) => {
  const resp = await request.post('/manage/api/v1/live/streams/getToken', params)
  return resp.data
}

// 检测当前频道是否可以使用
export const checkLiveChannel = async (params: any) => {
  const resp = await request.post('/manage/api/v1/live/streams/channel/check', params)
  return resp.data
}
